<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JSON</title>
</head>
<body>
    
</body>
<script>
    //定义商品对象
    let products=[
            {"key":"笔记本电脑","qre":"906390"},
            {"key":"笔记本子","qre":"937799"},
            {"key":"笔记本文具","qre":"400132"},
            {"key":"笔记本散热器","qre":"105018"},
            {"key":"笔记本支架","qre":"179625"},
            {"key":"笔记本自营","qre":"934656"},
            {"key":"笔记本游戏本","qre":"705309"},
            {"key":"笔记本包","qre":"872031"},
            {"key":"笔记本华为","qre":"7400"},
            {"key":"笔记本硬盘","qre":"129374"},
            {"key":"笔记本键盘","qre":"703076"},
            {"key":"笔记本联想","qre":"149953"},
            {"key":"笔记本内存条","qre":"97605"},
        ];

    //1.将商品对象转换为JSON格式的字符串

    //2.将JSON格式字符串解析成JS对象
</script>
</html>